projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b8ef27
)
(c-electric-brace): Make preserve-p nil at BOB.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 11 Aug 1997 23:51:04 +0000
(23:51 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 11 Aug 1997 23:51:04 +0000
(23:51 +0000)
lisp/progmodes/cc-cmds.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-cmds.el
b/lisp/progmodes/cc-cmds.el
index cd235fdf1008bf413ecbfd9aab7d26b057be4314..46d5747f9d00d72b3f9230a361f04eaa64fcd6b8 100644
(file)
--- a/
lisp/progmodes/cc-cmds.el
+++ b/
lisp/progmodes/cc-cmds.el
@@
-196,7
+196,8
@@
the brace is inserted inside a literal."
blink-paren-function
(insertion-point (point))
delete-temp-newline
- (preserve-p (eq ?\ (char-syntax (char-before))))
+ (preserve-p (and (not (bobp))
+ (eq ?\ (char-syntax (char-before)))))
;; shut this up too
(c-echo-syntactic-information-p nil)
(syntax (progn